package com.zzgele.qmzb.api.core;

public class Constants {
    public static final Integer RZ=2;//注册用户默认认证通过，为2
    public static boolean IS_DEBUG = false; //调试开关

    public static final String BUILD_PATH = "qmzb-api-1.0"; //默认打包名 xxx.war=配置到tomcat下的路径xxx
    public static final String IOS_BUNDLE_ID = "com.zzgele.liveTelecast";
    public static final Integer IOS_APP_STORE_VERSION = 0;
    public static final String TEST_USER_1 = "13363297271";
    public static final String TEST_USER_2 = "13355559155";

    public static final Integer SUCCESS = 1; // 成功
    public static final Integer FAILED = 0; // 失败

    public static String SMS_CODE_DEF = "9987"; //开发阶段默认短信验证码
    public static final String LOGIN_TOKEN_DEF = "4ec6622830"; //开发阶段默认登录用TOKEN

    public static final String CLOUD_TV_APPID = "1100269"; //
    public static final String CLOUD_tv_APPSECRET = "9a3eccc3fa83476d2acff0ebfeff7e03"; //
    public static final String PUSH_DOMAIN = "zhuimen.8686c.com"; //


    public static String NETEASE_APPKEY = "53c54ac5645a7f07b6c0f1e5c1602d55";  //网易AppKey
    public static String NETEASE_SECRET = "8a23e73c15de";  //网易AppSecret


    public static final String ALIYUN_OSS_ACCESSKEYID = "LTAIThJwYhExupfN"; 
    public static final String ALIYUN_OSS_ACCESSKEYSECRET = "0A2KWBEyYupSTWWC1MMannFs4MvDHV"; 
    public static final String ALIYUN_OSS_ROLE_ARN = "acs:ram::1285600019770229:role/aliyunosstokengeneratorrole";

    public static final String ALIYUN_SMS_ACCESSKEYID = "LTAIxT7RJgZql0fJ"; //阿里云ACCESSKEYID
    public static final String ALIYUN_SMS_ACCESSKEYSECRET = "J6OVu4V6eK4t7AIbOj4wNmhG9IMBQp"; //阿里云ACCESSKEYSECRET
    public static final String ALIYUN_SMS_SIGN_NAME = "全民直播Live";
    public static final String ALIYUN_SMS_REG_TEMPLATE_CODE = "SMS_85525082"; //SMS_85525082=15分钟/SMS_85475068=没时限

    public static final String QQ_OPEN_APPID = "1106399552"; //QQ开放平台AppId
    public static final String QQ_OPEN_APPSECRET = "LIx68PbJrtXhaCsN"; //QQ开放平台AppSecret
    public static final String ALIPAY_PARTNER = "2088721541010025";//支付宝的partner
    public static final String ALIPAY_APP_ID = "2017080408030140";//支付宝的app_id
    public static final String ALIPAY_PRIVATE_KEY = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKFvvZTSv3LeuNl60CPWjc+tTTvnQ1xKgkXd4/HiUC8i1hwsJk1y/qkBqHzG8ucuMJfoAxivIb129kUSt6na6SxLO9js/4bdWycMFt7aOHIhcYbDLLcua3IpAswp7RXzhwHd7m9NGY4uNa0135tMx4Fy8PXIsZncf6u9lCdUwjdrAgMBAAECgYBY63Ve/d4Z5Xenwq/WrZ0a4PgDoNRHh3rOBPRDDUbhT6zjg6XtTwPaD2HAqMyubZCye0cJV52cAGSRk0e6tSttKut8rGgNumOHy//cWhL0gjGk857ylH3Gv8/6dZkH+bo6VvD9dGLjASj30S+nXqmVhVCFj8bq1pDafiseSEm6kQJBAOQYWVuF97bqSs9xh2oSau0enGoEnwQASBQ3cbjE8foTBiR2levowTXitDn57aaQM5IFc5hEqav6tEuc1UvQU60CQQC1L7o7gLiQK7bAwSORrvsgQMQ2uDLOdrcY/M9C4RkMM81Ost1FN9cN4iYzQnMKVNVMHpA28lSrflXYE6Czktp3AkASDYdNAh5oAMUpBABGuexylgClN3Zqd6c8ymKa0COiuky7KBOXl1VrcWT4Tbqsey9JuFq8y3puXSpV7bTIClYFAkBsXwq2EmzSFsNtkVgUCCQ+i16RGCWTZmBnurbBWt/fc5CGVOeSQi8IJ88Pc9xZPpqBt/osU0+fb6Yq4rqJDfpLAkEAwc2nl3yPCpu+/p9YhMBXgHLMS+LMnMPByrypudGW7ra8CVU1gizdxr26RTYRN5ot3koOg6Uh9UPHBL+pjrUNDA==";//支付宝的私钥
    public static final String ALIPAY_LOG_PATH = "/tmp/";//支付宝的文件位置
    public static final String ALIPAY_NOTIFY_URL = "http://139.199.23.160:8080/qmzb/pay/zfb_ybtz";//支付宝异步回调

    public static final String COMMISSION_CHARGE = "0.3";//票转余额和提现的手续费

    public static final String WECHAT_OPEN_APPID = "wx70b2b2265162ab6e"; //微信开放平台AppId
    public static final String WECHAT_OPEN_APPSECRET = "f5d5f8e4d61893bbc5f508fb5ddc1876"; //微信开放平台AppSecret

    public static final String IM_ROOT_USER_ACCID = "root"; //IM系统用户ACCID
    public static final String IM_ROOT_USER_NAME = "系统"; //IM系统用户昵称
    public static final Long IM_ROOT_ROOM_ID = 10621181L; //IM系统聊天室ROOM_ID

    public static String ANNOUNCEMENT_DEF = "绿色直播";

    public static String STATIC_URL_RESOURCE = "http://139.199.23.160:8089/song_file/idcard";
    public static String STATIC_URL_IMAGES = STATIC_URL_RESOURCE + "images/";
    public static String STATIC_URL_UPLOAD = STATIC_URL_RESOURCE + "/";

    public static final Integer PAGE_SIZE_DEF = 20; //默认每页显示数量
    public static Integer USER_LEVEL_DEF = 1; //用户默认等级
    public static String USER_NICKNAME_PREFIX_DEF = "全民"; //用户默认昵称前缀
    public static Integer USER_PUSH_STATUS_DEF = 3; //用户默认推送状态
    public static Integer USER_PUSH_STATUS_SLIENT = 0; //用户静默推送状态
    public static final Long LOGIN_NUMBER_BASE = 10100100L; //用户号起始数

    public static final Integer CLIENT_TYPE_UNKNOWN = 0; //客户端类型Unknown
    public static final Integer CLIENT_TYPE_IOS = 1; //客户端类型iOS
    public static final Integer CLIENT_TYPE_ANDROID = 2; //客户端类型Android
    public static final Integer CLIENT_TYPE_H5 = 3; //客户端类型H5
    public static final Integer CLIENT_TYPE_WEB = 4; //客户端类型Web
    public static final Integer CLIENT_TYPE_PC = 5; //客户端类型Pc

    public static final Integer USER_TYPE_AUDIENCE = 0; //用户类型普通观众
    public static final Integer USER_TYPE_ANCHOR = 1; //用户类型主播
    public static final Integer USER_TYPE_PATROL = 2; //用户类型巡管
    public static final Integer USER_TYPE_ROBOT = 3; //用户类型机器人

    public static Integer USER_RECOMMEND_TYPE_NO = 0; //推荐类型不推荐
    public static Integer USER_RECOMMEND_TYPE_HOT = 1; //推荐类型热门
    public static Integer USER_RECOMMEND_TYPE_STAR = 2; //推荐类型明星
    public static Integer USER_RECOMMEND_TYPE_HOT_STAR = 3; //推荐类型明星且热门

    public static Integer IM_MSG_TYPE_TXT = 0; //消息类型文本
    public static Integer IM_MSG_TYPE_IMG = 1; //消息类型图片
    public static Integer IM_MSG_TYPE_SOUND = 2; //消息类型语音
    public static Integer IM_MSG_TYPE_VIDEO = 3; //消息类型视频
    public static Integer IM_MSG_TYPE_GEO = 4; //消息类型地理位置
    public static Integer IM_MSG_TYPE_FILE = 6; //消息类型文件
    public static Integer IM_MSG_TYPE_TIPS = 10; //消息类型TIPS
    public static Integer IM_MSG_TYPE_CUSTOM = 100; //消息类型自定义

    public static final Integer LIVE_STATUS_CLOSE = 2; //直播状态暂停
    public static final Integer LIVE_STATUS_OPEN = 1; //直播状态开启
    public static final Integer LIVE_STATUS_PAUSE = 3; //直播状态暂停

    public static final Integer PAY_TYPE_MANUAL = 0; //支付类型手动
    public static final Integer PAY_TYPE_IAP = 1; //支付类型iap
    public static final Integer PAY_TYPE_IAP_SANDBOX = 2; //支付类型iap-sandbox
    public static final Integer PAY_TYPE_ALIPAY = 3; //支付类型alipay
    public static final Integer PAY_TYPE_WECHAT = 4; //支付类型wechat
    public static final Integer PAY_TYPE_UNIONPAY = 5; //支付类型银联

    public static final Integer PAY_STATUS_UNPAY = 0; //支付状态未支付
    public static final Integer PAY_STATUS_PAYED = 1; //支付状态已支付

    public static Double LOG_DEF = 0D; //默认经度116.462410
    public static Double LAT_DEF = 0D; //默认纬度116.462410

    //客户端IM加密相关
    public static final String IM_AES_KEY = "27056a0d19e0c71d3e46c70a6c602ab9";
    public static final String IM_AES_IV = "b04b8104c446a7276841503324ebd81e";

    //购买凭证验证地址
    public static final String IAP_CERTIFICATE_URL = "https://buy.itunes.apple.com/verifyReceipt";
    //测试的购买凭证验证地址
    public static final String IAP_CERTIFICATE_URL_TEST = "https://sandbox.itunes.apple.com/verifyReceipt";

    public static Long CONFIG_KEY_ROBOT_COUNT = 1L; //机器人数量
    public static final Integer RED_PACKET_LIMIT_MINUTE=5;//
    public static final Integer RED_PACKET_LIMIT_NUMBER=10;//
    public static final Double COMMISSION_BONUS = 0.3;// 红包手续费

    //极光推送相关
    public static final String JGKEY="0241fc64797955b309d40a5b";
    public static final String JGSECRT="2e07ed08544dd47dd29f3668";

    public static final Integer PRIVATE_STATUS =0; //私信通知状态,open
    public static final Integer Broadcast_STATUS =0; //直播通知状态,open

    //用戶能私信主播条件（>=98元）
    public static final Integer BASEMNOEY=98; //直播通知状态,open
}
